$(function () {
  //1.请求ajax
  $.ajax({
    method: 'get',
    url: 'http://127.0.0.1:8060/index/index',
    success: function (res) {
      console.log(res)
      if (res.errno) return
      // 获取dom节点,开始渲染公共内容
      $('.container .nav li').eq(1).next().remove()
    },
  })
})
